/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.cn.fnst.base;

import org.apache.log4j.Logger;

/**
 * CommonParamter.java
 * 
 * @author Qixiaobo-win8
 */
public class CommonParamter {
    /**
     * Logger for this class
     */
    private static final Logger logger = Logger.getLogger(CommonParamter.class);
    public final static int ALL_USER = -1;
    public final static int ALL_METTING = -1;
    public final static int IS_ADMIN = 1;
    public final static int IS_NOT_ADMIN = 0;
    /**默认缓存数据库1天*/
	public static final long UPDATE_MAX_TIME = 86400000;
    
    /**
     * 属性文件枚举类
     * */
    public static enum Context{
        MIN_DISTANCE("minDistance"),PHOTO_DIR("photoDir"),ENABLE_LOCATION("enableLocation"),ENABLE_AUTO("enableAuto");
        private Context(String key){
            this.key=key;
        }
        private final String key;
        public String getKey(){
            return this.key;
        }
    }

}
